package com.gxg.controller;

import com.gxg.services.CheckCodeService;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class CheckCodeController
{
  @Autowired
  private CheckCodeService checkCodeService;
  
  @RequestMapping({"/get_check_code"})
  public void getCheckCode(HttpServletRequest request, HttpServletResponse response)
  {
    this.checkCodeService.createCheckCode(request, response);
  }
}
